<template>
	<view>
		<view class="f30 cw content">
			{{content}}
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				content: ''
			}
		},
		async onLoad() {
			const { data, res, success } = await this.$u.api.agreementInfo({ type: 2 })
			success?this.content=data.content:this.$u.toast(msg)
		}
	}
</script>

<style scoped lang="scss">
	.content {
		line-height: 70rpx;
		background-color: $uni-color-primary;
		padding: 0 50rpx;
		height: 100vh;
	}
</style>
